<%= error_messages_for :user -%>

<h3>Sign up</h3>
<% form_for :user, :url => users_path do |f| %>

<p><label for="email">Email</label><br/>
<%= text_field_tag "user[email]" %></p>

<p><label for="password">Password</label><br/>
<%= password_field_tag "user[password]" %></p>

<p><label for="password_confirmation">Confirm Password</label><br/>
<%= password_field_tag "user[password_confirmation]" %></p>

<p><%= submit_tag 'Sign up' %></p>
<% end -%>
